import java.io.File;

/**
 * @author tao
 * @date 2021/11/21
 */
public class test {
    public static void main(String[] args) {
        String path = "D:/upload";
        //如果路径不存在，创建一个
        File realPath = new File(path);
        if (!realPath.exists()){
            realPath.mkdir();
        }
    }
}
